#ifndef MINIMAP_H
#define MINIMAP_H

#include <SDL/SDL.h>
#include "types.h"

class Minimap
{
    private:
        SDL_Rect box;
        SDL_Rect cam;

    public:
        Minimap();

        float xToMap(float x);
        float yToMap(float y);

        float mapToX(float x);
        float mapToY(float y);

        void setup();
        void update_camera(position camera);

        void draw();

        SDL_Rect get_box();
        SDL_Rect get_cam();
};

#endif // MINIMAP_H
